<?php if ( ! defined('WDK_PATH')) exit('No direct script access allowed');
require_once BASE_PATH.'admin/controller.php';
class Main extends Controller
{
	function __construct()
	{
		parent::__construct();
		$this->_init();
	}
	
	protected function _init() 
	{	
		
	}
	
	public function index()
	{
		if(parent::_isLogin() == false)
		{
			parent::_redirect('/admin/main/login');
		}
		parent::_view();
	}
	
	public function login()
	{
		parent::_layout('blank');
		parent::_view();
	}
	
	public function sample()
	{
		parent::_view();
	}
}